import Vue from 'vue'
import Vuex from 'vuex'
import ShowModal from "./ShowModal"
import LoginState from "./LoginState"
import ShowToast from "./ShowToast"
import userInfo from './userInfo'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // 登录框
    ShowModal,
    // 登录状态
    LoginState,
    // 提示组件
    ShowToast,
    // 用户信息
    userInfo
  }
})
